package com.wm.service.impl;

import java.util.List;

import javax.annotation.Resource;

import com.wm.bean.Dish;
import com.wm.bean.Restaurant;
import com.wm.dao.DishDao;
import com.wm.dao.RestaurantDao;
import com.wm.service.MyRestaurantService;

public class MyRestaurantServiceImpl implements MyRestaurantService {
	@Resource private DishDao dishDao;
	
	public List<Dish> ShowMyRestaurant(String rid) {
		Restaurant rest = new Restaurant();
		rest.setRid(rid);
		
		
		return dishDao.getDish(rest);
	}

}
